<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			function study(c){
				for(var i=0;i<c;i++){
					document.write("<h1>我要好好学习</h1>");
				}
			}
			function mul(a,b){
				return a*b;
			}
			var i=mul(4,5);
			alert(i);
			var str="我喜欢java c#";
			alert(escape(str));
			alert(encodeURI(str));
		</script>
	</head>
	<body>
		<!--click,dblclick,mouseover,mouseout,keydown,keyup,keypress -->
		<input type="button" value="表决心" onclick="study(prompt('输入表决心的次数','1'))"/>
	</body>
</html>
